import data from './data'
export default {
    tooltip: {
        trigger: 'item'
    },
    grid: {
        left: "3%",
        right: "4%",
        bottom: "3%",
        width: 350,
        height: 465,
        containLabel: true
    },
    legend: {
        type: 'scroll',
        orient: 'vertical',
        right: -10,
        bottom: 20,
        // data: data.legendData,
        textStyle: {
            color: '#bcdcff',
            fontSize:16
        },
        // selected: data.selected
    },
    series: [{
        name: '在校生年龄分布',
        type: 'pie',
        radius: ['40%', '80%'],
        avoidLabelOverlap: false,
        textStyle: {
            color: '#bcdcff'
        },
        label: {
            show: false,
            position: 'center'
        },
        emphasis: {
            label: {
                show: false,
                fontSize: '40',
                fontWeight: 'bold'
            }
        },
        labelLine: {
            show: false
        },
        data: data.data
    }]
}